/*
* Sun Public License Notice
*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"). You may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/
*
* The Original Code is Forte for Java, Community Edition. The Initial
* Developer of the Original Code is Sun Microsystems, Inc. Portions
* Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
*/
package org.openide.cookies;
import org.openide.nodes.Node;
/** Provides ability for a data object or node to be passed runtime arguments.
* This is useful for, e.g., execution of a standalone class.
* @see org.openide.util.Utilities#parseParameters
* @author Ian Formanek
* @version 1.00, Sep 04, 1998
*/
public interface ArgumentsCookie extends Node.Cookie {
/** Get the arguments.
* @return the arguments. May be empty but not <code>null</code>.
*/
public String[] getArguments ();
/** Set the arguments.
* @param args the arguments. May be empty but not <code>null</code>.
* @throws IOException if the arguments could not be set
*/
public void setArguments (String[] args) throws java.io.IOException;
}
/*
* Log
* 7 Gandalf 1.6 10/22/99 Ian Formanek NO SEMANTIC CHANGE - Sun
* Microsystems Copyright in File Comment
* 6 Gandalf 1.5 6/8/99 Ian Formanek ---- Package Change To
* org.openide ----
* 5 Gandalf 1.4 3/31/99 Jesse Glick [JavaDoc]
* 4 Gandalf 1.3 3/23/99 Jesse Glick [JavaDoc]
* 3 Gandalf 1.2 3/10/99 Jesse Glick [JavaDoc]
* 2 Gandalf 1.1 1/20/99 David Simonek rework of class DO
* 1 Gandalf 1.0 1/5/99 Ian Formanek
* $
*/